package com.movitech.mobile.cz.base.purchase.service;

import com.baomidou.mybatisplus.service.IService;
import com.movitech.mobile.cz.base.purchase.entity.WFlowFormQaCountSign;

import java.util.List;

/**
 * <p>
 * 流程表单-答疑补遗-答疑会签 服务类
 * </p>
 *
 * @author Movitech Mobile
 * @since 2018-03-15
 */
public interface WFlowFormQaCountSignService extends IService<WFlowFormQaCountSign> {
    List<WFlowFormQaCountSign> selectByFormIdAndRelateId(String formId, String relateId,Integer type,Integer times);
    List<WFlowFormQaCountSign> selectByEntity(WFlowFormQaCountSign entity);
    void updateStatusByEntity(WFlowFormQaCountSign wFlowFormQaCountSign);
    void handleNotGo(String formId,String relateId,String userId);
    Integer selectMaxTimesByFormIdAndRelate(String formId,String relateId,Integer type);

    void updateStatusById(String subRelatedId, int i);
}
